package com.example.blog.dao;

import com.example.blog.pojo.Picture;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @date: 2020/9/5
 * @author: 东北宋小宝
 * @Description:
 */
@Mapper
public interface PictureMapper {
    void insertPicture(Picture picture);
    void updatePicture(Picture picture);
    void deletPicture(Long id);
    Picture getPictureById(Long id);
    List<Picture> getAllPicture(Map map);
}
